﻿using SqlSugar;

namespace EasyBuyShop.Models
{
    [SugarTable("EB_Purchase")]
    public class Purchase : EntityModel
    {
        public long ProductId { get; set; }
        public long CustomerId { get; set; }
        public int BuyCount { get; set; }
        public decimal TotalPrice { get; set; }
        public long LogisticsId { get; set; }

        /// <summary>
        /// 收件地址ID
        /// </summary>
        public string RecvAddr { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public int Status { get; set; }

        public string Remark { get; set; }
    }
}
